package com.patterns.demo.visitor.visitor;

import com.patterns.demo.visitor.subject.Subject;

/**
 * Author: SamGroves
 * <p>
 * Description:
 * <p>
 * Date: 2017/12/21
 */
public class MyVisitor implements Visitor {

    @Override
    public void visit(Subject subject) {
        System.out.println("visit ths subject " + subject.getsubject());
    }
}
